#include "net_wr.h"
#include <iostream>

Net_Wr::~Net_Wr()
{
    std::cout << __FUNCTION__ << std::endl;
}

int Net_Wr::s_read(char* buffer,int len,int new_socket)
{
    read(new_socket, buffer, len);
}

int Net_Wr::s_write(char* buffer,int len,int new_socket)
{
    send(new_socket, buffer,len, 0);
}